//
//  UIView+SYAdd.h
//  SYSampleProject_iOS
//
//  Created by huchu on 2018/4/16.
//  Copyright © 2018年 huchu. All rights reserved.
//

#import <UIKit/UIKit.h>
IB_DESIGNABLE
@interface UIView (SYNAdd)
/// 边线颜色
@property (nonatomic, strong) IBInspectable UIColor *borderColor;
/// 边线宽度
@property (nonatomic, assign) IBInspectable CGFloat borderWidth;
/// 圆角半径
@property (nonatomic, assign) IBInspectable CGFloat cornerRadius;

/**
 不修改masksToBounds属性
 1、圆角和阴影不能同时存在
 UIImageView，UIScrollView，UILabel，UIDatePicker，UIPickerView
 2、可以同时存在 masksToBounds为NO，不裁剪，  同样可以显示圆角
 UIView， UIButton， uitextFiled，UITextView， UISteper
 */
@property (nonatomic, assign) IBInspectable CGFloat cornerRadiusWithoutSetMaskToBounds;

@end








